var RequestUtils = require("../utils/request.js");
var UriUtils = require("../utils/url.js");
module.exports = {
  getCookie: function (c_name, callBack) {
    wx.getStorage({
      key: c_name,
      success: function (res) {
        if (res && res.data) {
          callBack(res.data);
        }
      },
      fail: function (res) {
        callBack(false);
      }
    })
  },
  getCookie2: function (c_name, callBack) {
    wx.getStorage({
      key: c_name,
      success: function (res) {
        if (res) {
          callBack(res.data);
        }
      },
      fail: function (res) {
        callBack(false);
      }
    })
  },
  setCookie: function (c_name, c_value) {
    wx.setStorage({
      key: c_name,
      data: c_value,
      success: function (res) {

      },
      fail: function (res) {
        console.log(res);
      }
    })
  },
  fetchMemberInfo: function (login_account, login_password) {

  }
}